﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Draco.OWF.RT.Engine;

namespace Draco.OWF.RT
{
    public interface IJob
    {
        String Id { get; set; }
        String Name { get; set; }
        void Initialize();
        WFProcessStatus Status { get; set; }
        IProcess WorkflowDefine { get; }
        void AddActivityInstance(ITask acins);
        void AddRouteInstance(IRouteInstance acins);
        ITask GetActivityInstance(String Id);
        IRouteInstance GetRouteInstance(String Id);
    }
}
